package com.ytjj.qmyx.mall.builder;

import lombok.Data;
import org.elasticsearch.index.query.BoolQueryBuilder;

/**
 *
 * @version 1.0
 *
 */
public class MyBoolQueryBuilder extends BoolQueryBuilder {

    private Integer pageNum;

    private Integer pageSize;

    public MyBoolQueryBuilder(Integer pageNum,Integer pageSize){
        super();
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
